﻿Namespace BE

    Public Class Persona_BE
        Dim mId As Integer
        Dim mNombre As String
        Dim mApellido As String
        Dim mDni As Integer
        Dim mFechaNacimiento As String
        Dim mTelefonos As New List(Of Telefono_BE)


        Public Property Id As Integer
            Get
                Return mId
            End Get
            Set(value As Integer)
                mId = value
            End Set
        End Property

        Public Property Nombre As String
            Get
                Return mNombre
            End Get
            Set(value As String)
                mNombre = value
            End Set
        End Property


        Public Property Apellido As String
            Get
                Return mApellido
            End Get
            Set(value As String)
                mApellido = value
            End Set
        End Property

        Public Property DNI As Integer
            Get
                Return mDni
            End Get
            Set(value As Integer)
                mDni = value
            End Set
        End Property

        Public Property FechaNacimiento As String
            Get
                Return mFechaNacimiento
            End Get
            Set(value As String)
                mFechaNacimiento = value
            End Set
        End Property

        Public Property Telefonos As List(Of Telefono_BE)
            Get
                Return mTelefonos
            End Get
            Set(value As List(Of Telefono_BE))
                mTelefonos = value
            End Set
        End Property




    End Class

End Namespace


